package com.system.function.dao;

import com.system.function.object.Supplier;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface SupplierDAO {

    //查询全部
    List<Supplier> getAllSupplier(Supplier Supplier);
    //查询总数
    int getCountSupplier(Supplier Supplier);
    //查询
    Supplier getSupplier(Supplier Supplier);
    //增加
    int addSupplier(Supplier Supplier);
    //删除
    int delSupplier(Supplier Supplier);
    //修改
    int updateSupplier(Supplier Supplier);

}
